package com.indexingsystem.boss.admin.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.indexingsystem.boss.entity.MenusRelationsNew;
import com.indexingsystem.boss.entity.MenusRelationsNewExample;
import com.indexingsystem.boss.entity.MenusRelationsNewKey;

public interface MenusRelationsNewMapper {
    long countByExample(MenusRelationsNewExample example);

    int deleteByExample(MenusRelationsNewExample example);

    int deleteByPrimaryKey(MenusRelationsNewKey key);

    int insert(MenusRelationsNew record);

    int insertSelective(MenusRelationsNew record);

    List<MenusRelationsNew> selectByExample(MenusRelationsNewExample example);

    MenusRelationsNew selectByPrimaryKey(MenusRelationsNewKey key);

    int updateByExampleSelective(@Param("record") MenusRelationsNew record, @Param("example") MenusRelationsNewExample example);

    int updateByExample(@Param("record") MenusRelationsNew record, @Param("example") MenusRelationsNewExample example);

    int updateByPrimaryKeySelective(MenusRelationsNew record);

    int updateByPrimaryKey(MenusRelationsNew record);
	MenusRelationsNew selectByResCategoryName(String resCategoryName);
}